package com.czxy.demo01;

public class Test19 {
    public static void main(String[] args) {

        BankCard b = new BankCard();

        try {
            b.saveMoney(5001);
            b.drawMoney(100000);
        }catch (BankException e){
            System.out.println("捕捉到了");
        }


    }
}
